package org.csmzxy.class2334;

public class Example04 {

    public static void main(String[] args){

        int x = 0;
        int y = 0;
        int z = 0;
        boolean a, b;
        // 当一个表达式中有多个运算符时，需要根据运算符优先级表，进行次次计算
        // > & = 从左到右
        a = x > 0 & y++ > 1;
        // a = false & y++ > 1    a = false & false a = false
        System.out.println(a);
        System.out.println(y);


        b = x > 0 && z++ > 1;
        // b = false && z++ > 1;   b = false

        System.out.println(b);
        System.out.println(z);

    }

}
